<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  </head>
  <body>
    <script>
      let arr = ['tom', 'yahoo']

      //   let [a,b] = [2, 'sina']
      //   console.log(a)

      for (const [key, value] of arr.entries()) {
        console.log(value)
      }
    </script>
  </body>
</html>
